<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-pragma">{-# LANGUAGE Trustworthy #-}</span><span>
</span><span id="line-2"></span><span class="hs-pragma">{-# LANGUAGE MagicHash, NoImplicitPrelude, UnboxedTuples, UnliftedFFITypes #-}</span><span>
</span><span id="line-3"></span><span>
</span><span id="line-4"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">GHC.Debug</span><span> </span><span class="hs-special">(</span><span> </span><span class="annot"><a href="GHC.Debug.html#debugLn"><span class="hs-identifier">debugLn</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Debug.html#debugErrLn"><span class="hs-identifier">debugErrLn</span></a></span><span> </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-5"></span><span>
</span><span id="line-6"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Prim.html"><span class="hs-identifier">GHC.Prim</span></a></span><span>
</span><span id="line-7"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Types.html"><span class="hs-identifier">GHC.Types</span></a></span><span>
</span><span id="line-8"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="GHC.Tuple.html"><span class="hs-identifier">GHC.Tuple</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-9"></span><span>
</span><span id="line-10"></span><span class="annot"><a href="GHC.Debug.html#debugLn"><span class="hs-identifier hs-type">debugLn</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Types.html#Char"><span class="hs-identifier hs-type">Char</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Types.html#IO"><span class="hs-identifier hs-type">IO</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-11"></span><span id="debugLn"><span class="annot"><span class="annottext">debugLn :: [Char] -&gt; IO ()
</span><a href="GHC.Debug.html#debugLn"><span class="hs-identifier hs-var hs-var">debugLn</span></a></span></span><span> </span><span id="local-6989586621679078222"><span class="annot"><span class="annottext">[Char]
</span><a href="#local-6989586621679078222"><span class="hs-identifier hs-var">xs</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(State# RealWorld -&gt; (# State# RealWorld, () #)) -&gt; IO ()
forall a. (State# RealWorld -&gt; (# State# RealWorld, a #)) -&gt; IO a
</span><a href="GHC.Types.html#IO"><span class="hs-identifier hs-var">IO</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">\</span><span id="local-6989586621679078221"><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078221"><span class="hs-identifier hs-var">s0</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-12"></span><span>                 </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">State# RealWorld
-&gt; [Char] -&gt; (# State# RealWorld, MutableByteArray# RealWorld #)
</span><a href="GHC.Debug.html#mkMBA"><span class="hs-identifier hs-var">mkMBA</span></a></span><span> </span><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078221"><span class="hs-identifier hs-var">s0</span></a></span><span> </span><span class="annot"><span class="annottext">[Char]
</span><a href="#local-6989586621679078222"><span class="hs-identifier hs-var">xs</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-13"></span><span>                 </span><span class="hs-special">(#</span><span> </span><span id="local-6989586621679078219"><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078219"><span class="hs-identifier hs-var">s1</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679078218"><span class="annot"><span class="annottext">MutableByteArray# RealWorld
</span><a href="#local-6989586621679078218"><span class="hs-identifier hs-var">mba</span></a></span></span><span> </span><span class="hs-special">#)</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-14"></span><span>                     </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">MutableByteArray# RealWorld -&gt; IO ()
</span><a href="GHC.Debug.html#c_debugLn"><span class="hs-identifier hs-var">c_debugLn</span></a></span><span> </span><span class="annot"><span class="annottext">MutableByteArray# RealWorld
</span><a href="#local-6989586621679078218"><span class="hs-identifier hs-var">mba</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-15"></span><span>                     </span><span class="annot"><a href="GHC.Types.html#IO"><span class="hs-identifier hs-type">IO</span></a></span><span> </span><span id="local-6989586621679078216"><span class="annot"><span class="annottext">State# RealWorld -&gt; (# State# RealWorld, () #)
</span><a href="#local-6989586621679078216"><span class="hs-identifier hs-var">f</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">State# RealWorld -&gt; (# State# RealWorld, () #)
</span><a href="#local-6989586621679078216"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078219"><span class="hs-identifier hs-var">s1</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-16"></span><span>
</span><span id="line-17"></span><span class="annot"><a href="GHC.Debug.html#debugErrLn"><span class="hs-identifier hs-type">debugErrLn</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Types.html#Char"><span class="hs-identifier hs-type">Char</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Types.html#IO"><span class="hs-identifier hs-type">IO</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-18"></span><span id="debugErrLn"><span class="annot"><span class="annottext">debugErrLn :: [Char] -&gt; IO ()
</span><a href="GHC.Debug.html#debugErrLn"><span class="hs-identifier hs-var hs-var">debugErrLn</span></a></span></span><span> </span><span id="local-6989586621679078215"><span class="annot"><span class="annottext">[Char]
</span><a href="#local-6989586621679078215"><span class="hs-identifier hs-var">xs</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(State# RealWorld -&gt; (# State# RealWorld, () #)) -&gt; IO ()
forall a. (State# RealWorld -&gt; (# State# RealWorld, a #)) -&gt; IO a
</span><a href="GHC.Types.html#IO"><span class="hs-identifier hs-var">IO</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">\</span><span id="local-6989586621679078214"><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078214"><span class="hs-identifier hs-var">s0</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-19"></span><span>                    </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">State# RealWorld
-&gt; [Char] -&gt; (# State# RealWorld, MutableByteArray# RealWorld #)
</span><a href="GHC.Debug.html#mkMBA"><span class="hs-identifier hs-var">mkMBA</span></a></span><span> </span><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078214"><span class="hs-identifier hs-var">s0</span></a></span><span> </span><span class="annot"><span class="annottext">[Char]
</span><a href="#local-6989586621679078215"><span class="hs-identifier hs-var">xs</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-20"></span><span>                    </span><span class="hs-special">(#</span><span> </span><span id="local-6989586621679078213"><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078213"><span class="hs-identifier hs-var">s1</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679078212"><span class="annot"><span class="annottext">MutableByteArray# RealWorld
</span><a href="#local-6989586621679078212"><span class="hs-identifier hs-var">mba</span></a></span></span><span> </span><span class="hs-special">#)</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-21"></span><span>                        </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">MutableByteArray# RealWorld -&gt; IO ()
</span><a href="GHC.Debug.html#c_debugErrLn"><span class="hs-identifier hs-var">c_debugErrLn</span></a></span><span> </span><span class="annot"><span class="annottext">MutableByteArray# RealWorld
</span><a href="#local-6989586621679078212"><span class="hs-identifier hs-var">mba</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-22"></span><span>                        </span><span class="annot"><a href="GHC.Types.html#IO"><span class="hs-identifier hs-type">IO</span></a></span><span> </span><span id="local-6989586621679078210"><span class="annot"><span class="annottext">State# RealWorld -&gt; (# State# RealWorld, () #)
</span><a href="#local-6989586621679078210"><span class="hs-identifier hs-var">f</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">State# RealWorld -&gt; (# State# RealWorld, () #)
</span><a href="#local-6989586621679078210"><span class="hs-identifier hs-var">f</span></a></span><span> </span><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078213"><span class="hs-identifier hs-var">s1</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-23"></span><span>
</span><span id="line-24"></span><span class="hs-keyword">foreign</span><span> </span><span class="hs-keyword">import</span><span> </span><span class="annot"><span class="hs-keyword">ccall</span></span><span> </span><span class="annot"><span class="hs-keyword">unsafe</span></span><span> </span><span class="annot"><span class="hs-string">&quot;debugLn&quot;</span></span><span>
</span><span id="line-25"></span><span>    </span><span id="c_debugLn"><span class="annot"><a href="GHC.Debug.html#c_debugLn"><span class="hs-identifier hs-var">c_debugLn</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Prim.html#MutableByteArray%23"><span class="hs-identifier hs-type">MutableByteArray#</span></a></span><span> </span><span class="annot"><a href="GHC.Prim.html#RealWorld"><span class="hs-identifier hs-type">RealWorld</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Types.html#IO"><span class="hs-identifier hs-type">IO</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-26"></span><span>
</span><span id="line-27"></span><span class="hs-keyword">foreign</span><span> </span><span class="hs-keyword">import</span><span> </span><span class="annot"><span class="hs-keyword">ccall</span></span><span> </span><span class="annot"><span class="hs-keyword">unsafe</span></span><span> </span><span class="annot"><span class="hs-string">&quot;debugErrLn&quot;</span></span><span>
</span><span id="line-28"></span><span>    </span><span id="c_debugErrLn"><span class="annot"><a href="GHC.Debug.html#c_debugErrLn"><span class="hs-identifier hs-var">c_debugErrLn</span></a></span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Prim.html#MutableByteArray%23"><span class="hs-identifier hs-type">MutableByteArray#</span></a></span><span> </span><span class="annot"><a href="GHC.Prim.html#RealWorld"><span class="hs-identifier hs-type">RealWorld</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="GHC.Types.html#IO"><span class="hs-identifier hs-type">IO</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-29"></span><span>
</span><span id="line-30"></span><span class="annot"><a href="GHC.Debug.html#mkMBA"><span class="hs-identifier hs-type">mkMBA</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="GHC.Prim.html#State%23"><span class="hs-identifier hs-type">State#</span></a></span><span> </span><span class="annot"><a href="GHC.Prim.html#RealWorld"><span class="hs-identifier hs-type">RealWorld</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="GHC.Types.html#Char"><span class="hs-identifier hs-type">Char</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-31"></span><span>         </span><span class="hs-special">(#</span><span> </span><span class="annot"><a href="GHC.Prim.html#State%23"><span class="hs-identifier hs-type">State#</span></a></span><span> </span><span class="annot"><a href="GHC.Prim.html#RealWorld"><span class="hs-identifier hs-type">RealWorld</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="GHC.Prim.html#MutableByteArray%23"><span class="hs-identifier hs-type">MutableByteArray#</span></a></span><span> </span><span class="annot"><a href="GHC.Prim.html#RealWorld"><span class="hs-identifier hs-type">RealWorld</span></a></span><span> </span><span class="hs-special">#)</span><span>
</span><span id="line-32"></span><span id="mkMBA"><span class="annot"><span class="annottext">mkMBA :: State# RealWorld
-&gt; [Char] -&gt; (# State# RealWorld, MutableByteArray# RealWorld #)
</span><a href="GHC.Debug.html#mkMBA"><span class="hs-identifier hs-var hs-var">mkMBA</span></a></span></span><span> </span><span id="local-6989586621679078209"><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078209"><span class="hs-identifier hs-var">s0</span></a></span></span><span> </span><span id="local-6989586621679078208"><span class="annot"><span class="annottext">[Char]
</span><a href="#local-6989586621679078208"><span class="hs-identifier hs-var">xs</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-comment">-- Start with 1 so that we have space to put in a \0 at</span><span>
</span><span id="line-33"></span><span>              </span><span class="hs-comment">-- the end</span><span>
</span><span id="line-34"></span><span>              </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; [Char] -&gt; Int#
forall {a}. Int# -&gt; [a] -&gt; Int#
</span><a href="#local-6989586621679078207"><span class="hs-identifier hs-var">len</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">1#</span></span><span> </span><span class="annot"><span class="annottext">[Char]
</span><a href="#local-6989586621679078208"><span class="hs-identifier hs-var">xs</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-35"></span><span>              </span><span id="local-6989586621679078206"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679078206"><span class="hs-identifier hs-var">l</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-36"></span><span>                  </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">Int#
-&gt; State# RealWorld
-&gt; (# State# RealWorld, MutableByteArray# RealWorld #)
forall d. Int# -&gt; State# d -&gt; (# State# d, MutableByteArray# d #)
</span><a href="GHC.Prim.html#newByteArray%23"><span class="hs-identifier hs-var">newByteArray#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679078206"><span class="hs-identifier hs-var">l</span></a></span><span> </span><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078209"><span class="hs-identifier hs-var">s0</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-37"></span><span>                  </span><span class="hs-special">(#</span><span> </span><span id="local-6989586621679078205"><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078205"><span class="hs-identifier hs-var">s1</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679078204"><span class="annot"><span class="annottext">MutableByteArray# RealWorld
</span><a href="#local-6989586621679078204"><span class="hs-identifier hs-var">mba</span></a></span></span><span> </span><span class="hs-special">#)</span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-38"></span><span>                      </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">MutableByteArray# RealWorld
-&gt; Int# -&gt; [Char] -&gt; State# RealWorld -&gt; State# RealWorld
forall {d}.
MutableByteArray# d -&gt; Int# -&gt; [Char] -&gt; State# d -&gt; State# d
</span><a href="#local-6989586621679078203"><span class="hs-identifier hs-var">write</span></a></span><span> </span><span class="annot"><span class="annottext">MutableByteArray# RealWorld
</span><a href="#local-6989586621679078204"><span class="hs-identifier hs-var">mba</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">0#</span></span><span> </span><span class="annot"><span class="annottext">[Char]
</span><a href="#local-6989586621679078208"><span class="hs-identifier hs-var">xs</span></a></span><span> </span><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078205"><span class="hs-identifier hs-var">s1</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-39"></span><span>                      </span><span id="local-6989586621679078202"><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078202"><span class="hs-identifier hs-var">s2</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">(#</span><span> </span><span class="annot"><span class="annottext">State# RealWorld
</span><a href="#local-6989586621679078202"><span class="hs-identifier hs-var">s2</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">MutableByteArray# RealWorld
</span><a href="#local-6989586621679078204"><span class="hs-identifier hs-var">mba</span></a></span><span> </span><span class="hs-special">#)</span><span>
</span><span id="line-40"></span><span>    </span><span class="hs-keyword">where</span><span> </span><span id="local-6989586621679078207"><span class="annot"><span class="annottext">len :: Int# -&gt; [a] -&gt; Int#
</span><a href="#local-6989586621679078207"><span class="hs-identifier hs-var hs-var">len</span></a></span></span><span> </span><span id="local-6989586621679078201"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679078201"><span class="hs-identifier hs-var">l</span></a></span></span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679078201"><span class="hs-identifier hs-var">l</span></a></span><span>
</span><span id="line-41"></span><span>          </span><span class="annot"><a href="#local-6989586621679078207"><span class="hs-identifier hs-var">len</span></a></span><span> </span><span id="local-6989586621679078200"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679078200"><span class="hs-identifier hs-var">l</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">a
</span><span class="hs-identifier">_</span></span><span> </span><span class="annot"><a href="GHC.Types.html#%3A"><span class="hs-glyph hs-type">:</span></a></span><span> </span><span id="local-6989586621679078199"><span class="annot"><span class="annottext">[a]
</span><a href="#local-6989586621679078199"><span class="hs-identifier hs-var">xs'</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Int# -&gt; [a] -&gt; Int#
</span><a href="#local-6989586621679078207"><span class="hs-identifier hs-var">len</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679078200"><span class="hs-identifier hs-var">l</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Prim.html#%2B%23"><span class="hs-operator hs-var">+#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">1#</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">[a]
</span><a href="#local-6989586621679078199"><span class="hs-identifier hs-var">xs'</span></a></span><span>
</span><span id="line-42"></span><span>
</span><span id="line-43"></span><span>          </span><span id="local-6989586621679078203"><span class="annot"><span class="annottext">write :: MutableByteArray# d -&gt; Int# -&gt; [Char] -&gt; State# d -&gt; State# d
</span><a href="#local-6989586621679078203"><span class="hs-identifier hs-var hs-var">write</span></a></span></span><span> </span><span id="local-6989586621679078198"><span class="annot"><span class="annottext">MutableByteArray# d
</span><a href="#local-6989586621679078198"><span class="hs-identifier hs-var">mba</span></a></span></span><span> </span><span id="local-6989586621679078197"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679078197"><span class="hs-identifier hs-var">offset</span></a></span></span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span> </span><span id="local-6989586621679078196"><span class="annot"><span class="annottext">State# d
</span><a href="#local-6989586621679078196"><span class="hs-identifier hs-var">s</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">MutableByteArray# d -&gt; Int# -&gt; Char# -&gt; State# d -&gt; State# d
forall d.
MutableByteArray# d -&gt; Int# -&gt; Char# -&gt; State# d -&gt; State# d
</span><a href="GHC.Prim.html#writeCharArray%23"><span class="hs-identifier hs-var">writeCharArray#</span></a></span><span> </span><span class="annot"><span class="annottext">MutableByteArray# d
</span><a href="#local-6989586621679078198"><span class="hs-identifier hs-var">mba</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679078197"><span class="hs-identifier hs-var">offset</span></a></span><span> </span><span class="annot"><span class="annottext">Char#
</span><span class="hs-char">'\0'#</span></span><span> </span><span class="annot"><span class="annottext">State# d
</span><a href="#local-6989586621679078196"><span class="hs-identifier hs-var">s</span></a></span><span>
</span><span id="line-44"></span><span>          </span><span class="annot"><a href="#local-6989586621679078203"><span class="hs-identifier hs-var">write</span></a></span><span> </span><span id="local-6989586621679078195"><span class="annot"><span class="annottext">MutableByteArray# d
</span><a href="#local-6989586621679078195"><span class="hs-identifier hs-var">mba</span></a></span></span><span> </span><span id="local-6989586621679078194"><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679078194"><span class="hs-identifier hs-var">offset</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="GHC.Types.html#C%23"><span class="hs-identifier hs-type">C#</span></a></span><span> </span><span id="local-6989586621679078193"><span class="annot"><span class="annottext">Char#
</span><a href="#local-6989586621679078193"><span class="hs-identifier hs-var">x</span></a></span></span><span> </span><span class="annot"><a href="GHC.Types.html#%3A"><span class="hs-glyph hs-type">:</span></a></span><span> </span><span id="local-6989586621679078192"><span class="annot"><span class="annottext">[Char]
</span><a href="#local-6989586621679078192"><span class="hs-identifier hs-var">xs'</span></a></span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679078191"><span class="annot"><span class="annottext">State# d
</span><a href="#local-6989586621679078191"><span class="hs-identifier hs-var">s</span></a></span></span><span>
</span><span id="line-45"></span><span>              </span><span class="hs-glyph">=</span><span> </span><span class="hs-keyword">case</span><span> </span><span class="annot"><span class="annottext">MutableByteArray# d -&gt; Int# -&gt; Char# -&gt; State# d -&gt; State# d
forall d.
MutableByteArray# d -&gt; Int# -&gt; Char# -&gt; State# d -&gt; State# d
</span><a href="GHC.Prim.html#writeCharArray%23"><span class="hs-identifier hs-var">writeCharArray#</span></a></span><span> </span><span class="annot"><span class="annottext">MutableByteArray# d
</span><a href="#local-6989586621679078195"><span class="hs-identifier hs-var">mba</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679078194"><span class="hs-identifier hs-var">offset</span></a></span><span> </span><span class="annot"><span class="annottext">Char#
</span><a href="#local-6989586621679078193"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="annot"><span class="annottext">State# d
</span><a href="#local-6989586621679078191"><span class="hs-identifier hs-var">s</span></a></span><span> </span><span class="hs-keyword">of</span><span>
</span><span id="line-46"></span><span>                </span><span id="local-6989586621679078190"><span class="annot"><span class="annottext">State# d
</span><a href="#local-6989586621679078190"><span class="hs-identifier hs-var">s'</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><span id="line-47"></span><span>                    </span><span class="annot"><span class="annottext">MutableByteArray# d -&gt; Int# -&gt; [Char] -&gt; State# d -&gt; State# d
</span><a href="#local-6989586621679078203"><span class="hs-identifier hs-var">write</span></a></span><span> </span><span class="annot"><span class="annottext">MutableByteArray# d
</span><a href="#local-6989586621679078195"><span class="hs-identifier hs-var">mba</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Int#
</span><a href="#local-6989586621679078194"><span class="hs-identifier hs-var">offset</span></a></span><span> </span><span class="annot"><span class="annottext">Int# -&gt; Int# -&gt; Int#
</span><a href="GHC.Prim.html#%2B%23"><span class="hs-operator hs-var">+#</span></a></span><span> </span><span class="annot"><span class="annottext">Int#
</span><span class="hs-number">1#</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">[Char]
</span><a href="#local-6989586621679078192"><span class="hs-identifier hs-var">xs'</span></a></span><span> </span><span class="annot"><span class="annottext">State# d
</span><a href="#local-6989586621679078190"><span class="hs-identifier hs-var">s'</span></a></span><span>
</span><span id="line-48"></span><span>
</span><span id="line-49"></span></pre></body></html>